package com.gengzp.rpc.constants;

/**
 * @ClassName RpcCacheKeyConstants
 * @Description
 * @Author gengzp
 * @Date 2025/8/23 19:42
 */
public interface RpcCacheKeyConstants {

    /**
     * 远程事务缓存key
     * <p> 存储格式: rpc:remote_transaction:[请求id] </p>
     */
    String REMOTE_TRANSACTION_CACHE_KEY = "rpc:remote_transaction:";

    /**
     * 服务注册缓存key
     * <p> 存储格式: rpc:service_register_center:[服务名] </p>
     */
    String SERVICE_REGISTER_CACHE_KEY = "rpc:service_register_center:";

}
